export const tableOption = {
  searchMenuSpan: 6,
  columnBtn: false,
  border: true,
  index: false,
  selection: false,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  menuWidth: 240,
  column: [
    {
      label: '模板名称',
      prop: 'name',
      search: true
    },
    {
      label: '证书类型',
      prop: 'type',
      type: 'select',
      slot: true,
      search: true,
      dicData: [
        {
          label: '课程证书',
          value: 'course'
        }, {
          label: '活动证书',
          value: 'activity'
        }, {
          label: '竞赛证书',
          value: 'competition'
        }
      ]
    },
    {
      label: '模板图片',
      prop: 'templateUrl',
      type: 'upload',
      slot: true,
      listType: 'picture-img'
    },
    {
      label: '创建时间',
      prop: 'createdAt',
      search: true,
      display: true
    },
    {
      label: '更新时间',
      prop: 'updatedAt',
      search: true
    }
  ]
}
